Remove double lines