check abilities and fixing bug with vote