cleanup error message.