fixed another null assert