add missing slash to base path