Fixes XYZ format update

I think this perhaps went a bit too quick with the replacements.