remove i==0 reference for parentTag
html changes