fix upower check