fixes exchange provider bug for names with spaces