fixed db.php