Fix bug in product details page