Fix API addresses