Fixed bug in Product Class

Corrected bug in Product class