head lost in bufferManager fixed.