Fix complete publication bug