remove spurrious spaces from membership