fix db.php