subfolder bug fixed