fix crash problem in zoo