adding missing string null termination