fix elimination when moving