handle some nulls