quick hack to resolve api root path