fix in tracking number of running analyses