save log bug fix