Fixed bug that outputs rubbish text when excel not found