remove error lines