remove getchar