change string to char*