Mob Despawning?

I'm currently working on a nature-themed build and part of the build includes fish in this river portion that I have. Every time I spawn in fish they despawn within a few hours. I've tried using name tags but those don't work either. Same goes for other mobs, too. Any way to fix this?