don't truncate a null string. Fixes #262