fixing API host