cleanup publishing