fixed windows subfolder compatibility