duplicate validation fixed