fix a link error
make converted strings null-terminated