pagination remove 404 with exit;