remove unnecessary .settings/ folders