PoW mining fix