move variables to inited trigger