remove old relation class