dont displace error box if there are no errors