fix publication persisting