checking for nulls in innerBag