minor intermediate nullreference fix

comment about base class