ensure list non-nullity