improve the message to say what was expected