fix compile due to mempool change