Fix API addresses.