Fix publish issue