remove otiose lines