fix checkbox and add published