take care of some null ==/!= stuff