fix pricecode save