added a check for the broken service