fix createAnimal