fixed publish issue