Fix power failure compile error