commit the bug to flush buffer index