1. doing product pagination.
2. remove unused debug info