fix ajax for votes