Fixed call to curses lib