Fix API urls