remove double lines