stopped colelcting query data when not debugging