more ted fixes