improve import2: autodetect fields