Fixing bug in using spaces in the topic window