removes error log