Fix problem with publishing