base path correction