fixed a bug with the wrong exchange