Fixed error with not declaring exchange first.