Fixed issue where the pty info wasn't read completely