fix bug duplicate when saving product