If a nil is the input, shouldn't nil be the returned value rather than blank string?