exchanges are deleted before trying to redeclare them as a different type