fix getSubserviceIndex (not used anywhere anyway)