minor fix for null string outputs