removal duplicate error messages