change c from char* to char