removing target directory