invert envelope