patch for flash messages
Merge pull request #4 from Mika64/master

patch for flash messages