modified wordspace to use const char set