getValuesByQueryParams modified