fixing #6361 new error message