Fixed XM reading bug.