remove redundant html element