fixed selfpublish