fixed pet.name error, fixed pet_aftercast