bugfix for xyzE routine