Fixed bug with posts publication