why does value default to empty string?