Fix in uninit() function