added remove duplicate error messages fix again