add modification for buf manager.