minor changes for error message