fix duplicate script object