Fixed error with setting known and unknown size.