fixing getDatabase.php again