fix a bug in the MemreadEngine.  We still aren't out of the woods with the new buffering feature