fixed uninitialised value in powerup