gets rid of line that caused app to error