Fixed a subdirectory bug.