avoid exceptions when collection is undefined and use .warn for exception of row height calculation