removes duplicate line in code example