cleanup kernel etc