returning an empty string instead of None