improved quickquery return performance