fix product check bug