query from metadata returns nothing