edit product.rb-attempt to fix error