restarted the server and the pagination works