moved validation message to top