Hi
Its brought down in Halacha and some gemaras about some foods not to eat before going to sleep as it could cause keri..
For me eating Humble pie helped me tremendously - i got on the phone and called someone and admitted what i do wrong- not fun to eat but once you do you realize how good it really is
Warning: Spoiler! Much better than cilantro and coriander!
I dont know if you have or havent done that yet but it will certainly help you
Hatzlachah!