check for empty strings (see #81)