fixing duplicate elements from IE