fix of curses print