Fix HydrogenGen crash