fixing some cascade delete bs.