database.php fix