fixes issue #150
null pointer in string