Sorted out flash messages