pagination and deploy cleanup