add isset() test for fields