NEW : remove warnings from string to char*