auto shutdown fixed