changed position of error message