fix default server endpoint