Fix result handling.