ted updates and fixes