fixin up the error messages