fix the finish bufferquery bug