bug fix for product list and pagination