cleanup of working dirs