remove curses dependency, remove temp file