Fix a wrong error message.