fix $sce errors on empty strings