Fix proposer code