small changes to serviceMonitor