fixed rebalance bug