fixing base path