fixed a bug with publishing and mptt conflicts