fix x/y lock