fixing an issue that prevented transitioned flash messages from appearing