small fixes to error messages