found some bugs related to buffer mgmt