Not valid form flash message fixed