Publishing error fix