Fixed error trying to save product detail