fixed publication bug