fixed problems with defaultfield setting.