fix paging getting value from queryHook