Have you considered a mantra?
Also, when you wake up in the middle of the night, recall, and jot down some notes
This will help.