error in exchange