fixed FlashMessage not being imported