ad deletion finally works correctly