no longer crashes on empty strings