fixed TE not being saved