reply deleted logic