fixed ajax when voting for last statement