fixing bugs, last voting is currently broken