fixed handling of new data format for datatypes file