fix the malloc char*