fixing topic deletion and purging