fixed error in reading dx1 files