remove duplicate error