cleaned up curses