It is important to take your meal before going to sleep or at night. Your stomach needs to have something to digest. If there is no food in your stomach, acid will form. More acid in your stomach will make your stomach and intestines thinner.
i think you can stop it just get sleep earlier and also change your eating schedule will help the eating at night. as you eating at night, how your weight now? are you getting bigger?