debugging subfield error