fix curses