minor changes to error messages