fix substory deletion