fixed publish missing param bug