Fix configs numbers in distributed running