set slaves to nil when no slaves found