undo windows workaround