fixed some issues in read coordinates from rmf
fixed some issues in read coordinates from rmf