Fixed a base path bug.