error message fixed, duplicate rule fixed