You do NOT need that night time snack. You are just trying to keep yourself awake. Admit that, accept you can’t get everything done today, go to bed and GET SOME SLEEP!
You’ve been snacking WAY to much late night, see the problem, break the pattern, habits are too easily formed. YOU KNOW THIS.