Fixed wrong error message.