add some sparse comment and various minor fix