Fixed a kernel panic