set tab as "inactive" if zero records