create query with public itens and drop query
getting declared fields