clean up element referencing in init chain