undo changes from curses.wrapper test