fixing dependent destroy issue in admin