bug fix: unexpected newline error under windows, change fmt.Scanf to fmt.Scanln