fix crash when initializing gorilla twice