delete .settings and target directory