Fix cultivate crash