Fixing compiler. Fetching serviceIds improperly