Remove a line that throws an error