delete relation bug