fixed Power off problem