fixed returning [] when no database info requested