Fixed calorie counter bug