Issue #194, fixing flash message that did not appear