fixed converted string to char*