eliminated fetching of duplicate records