temp fix/hack for getDatabase.php