fixed user input missing the first letter for output file