added ido-work-dir cleanup function