product inventary fixed for python 3.3.2