fixed error when turret dies