remove reference to swelement