Hunter bug Cataclysm classic ( game forget pet setup)

Every time i switch pet, or spec. My pet talent are reset, so every time i need to set it up again. It’s an annoying thing, that should not exist tbh.
The different types of pets alway use the same build, so the game should automatic remember your ferocity, tenacity and cunning setup, and just use that using those types of pets.