clean up old settings