Fix crash on chocolate