minor changes in error messages