remove target dir instead of project dir