fixed not allowing duplicate product codes