improved the new buffer manager