fixed bug in animal