remove the leaders from config