change run to open3 from pty