removed extra ncurses calls