Pagination is working now.
removed consoles.