add index to proposal_id