check explicitly for nil on check_not_nil