Fix #42 issue of publish and unpublish multiple extensions