Fix api exchanges issue