troubleshooting pagination