fixed the halving again