Fixed #9 Treat null value as empty string.
Fix typo.