clean error file