Sort:  

You are right, eating in the night should be avoided and at that time our digestive system is also in a passive state.

Thank you.