some issues fixed with ncurses