feature #3066: return empty string instead of nil