Fixed publishDestory method