flatten moving path especially when not moving