Fixed TE data not being set correctly.