fixed a pagination bug in products admin page