fix settings.php file only after cleanup