Fix callbacks for flexible portal strategy