fix: broken pagination for https