fixed a bug in xml reader
Merge remote-tracking branch 'origin/dev' into dev