Fixed publishing bug