fix bugs in insert weight balancing