Flash messages cleaned up
Fixes error in flash bar: