fixed error message, was displayed the wrong way