fix voting and api urls