tui works, gui not