fixed analyzer warnings
fixed issue with stacked list
fixed list levels
fixed indent less than head