flash message in wrong view