patch NPE when no default field is configured