Fix power calcuration