fixing error from Ted's session