null pointers should not be dereferenced