Fix api urls