fix bug for fieldname