fixed getch()