fixed a few block voting bugs