add some skipDuplicates to avoid unnecessary ajax calls