fixing settings.php issue