fix error messages

reason: automatic tests expect other error messages