fix commit on 0 index log bug