fix curses version