fix ajax voting