prevent unwanted null string in the output when using 1.3.5