fixing makepost to add published