fix front-end vote button