Fix segment fault.