check field nil