adding a check to remove disabled servic3es