refactoring on Traverse transition path
fix history analyse and generation