remove pty for windows