add conf types and fix Vote null bugs
LOTS of fixes