removing spaces from topic name