adding compatibility in exception for Interop