revert const char* to char*