fix 'the error message is not consistent'