remove unsure code for error message.