clear some code about error file