null or undefined as string, getValue fix

return empty string instead of null or undefined