set unique index for votes
fixed vote save error