fix product page calulation