a small script used in clearing the relationship between views