fix API getCommitList
fix bugs