flash message fixed, flash validation fixed