removes unnecessary directory from projects.