small fix for TEC init
small fix for TEC init (again)