Remove lines causing errors