Fix the data base type bug, and field types rows for the import/export tool