fix eff in local x and y for sim and digi