clean up the create_diets method
fix checkbox rendering