handle a null object