Fixed publishDestory method
Fixed pubsub issues with destroy