moved flash message to better place