remove reference to views on remove