fixes for XY
another small change for XY