remove duplicate html attribute