modify base path