made sure string value will be returned or null when nullable and empty string