make base path portability