fixed a bug about extracting field order (truly)