fix edit log excption