fixed vertical alignment when displaying error messages