Problem adding groups to im gateway

I am trying to add groups to the permission list for the im gateway plugin.

The groups are from AD and have spaces.

So when I try to add group

abc chat network

the error returned says cant find groups

abc, chat, network

Is there a way to escape the " " (spaces)? I tried `` “” ‘’ non seems to work.