fix issue with base path