minor fix to step_XY