fix a bug in  reading coordinates, set 'Z' to ezgdef all the time
commit some changes