removal of duplicate line