settings cleanup