fix bugs in product status processing