fixed double clients issue