fix multiple onStructureCreated call