Fix in publish blog hook