fixed a bug related to deleting a proposal.