fix diet crash