fixed bug in adding product