Fixed NaN bug when connecting the Turret