be sure to get the actual size of the query.