removes duplicate line