handle empty strings
revert to beam