get base path in helper