I don't think you're doing anything wrong. Our bodies just get these insane cravings sometimes. Not only are mine insane, they're bizzare. I'll wake up in the middle of the night wanting cheerios. Strange.
Anyway, I look at it like dealing with a kid that's throwing a fit. The kid can be kicking and screaming and making a huge fuss, but that doesn't mean you're going to spend $100 on a video game, right? Not even if they tick you off, make you grumpy, and tell you that they hate you?
So I look at it as the same thing. My body is like a little kid - a spoiled little kid that used to getting her way. Well, it's time for her to grow up. She can throw a fit all she wants but I'm not giving in. It's time for her to grow up