fixed error message
formatting