add returnedfields for manual query