added remove all references after every assembly is put out