fix error when create new product