Fix powerplant bug