check data aginst last id to filter duplicated items