typo in Database.class.php