fixed pagination problem for products table