[#983] clear newlyCreated class