added asserts to track down null pointers; fixed typo in lable (sic)