fixed kernel halting issue