fix several API urls