Fix input empty strings