fix ui-field bug