fixed delete relation categories