removing redundant html