Fixed removing error message.