rm line that caused errors