Fixed kernel panic on x64 kernel