invert-appvar