Extra check for empty string when sharing