duplicate line fix