solve publish problem