removing target directories