api domain path fix