Fix showing error message.