fixed broken shutdown