corrected bug on a malloc: string size was the concatenation of 2 strings, plus a dot, plus the trailing 0