enable max slave count in config file