Remove aperture line where error is occuring