clean up Settings.php