fixed the subscription bug related to fetching total