remove unused pty setting; fix indent.