change member of structure (char*) --> (const char*)