made resource buffers more exact for popqty calls