removing thread subdirectory