bugfix isServiceAvailable