change pagination behavior