changes for error messages