Even though I know it's bad for my health It's not easy to break the habit of eating late-night snacks.