fixed a capital D in removeRelation function