fix can not open commit log
merge code