check for empty strings