fix strncpy missing string terminator