fix curses use in jrank