a hack fix for null unicode characters