reverting mods on external wrapper