fix loader with while redis_set.size >= 0