fix for NULL string