publish sbscribe autopublish fixed