fixed ave_pwr mistake