revert getAllPledges and merge