dynamic pets, fix #897