clean some error info