caught some null pointers