fix for issue 1293 loop pointers
initlized m+moveXoff,