Change some char * to const char *