* fix unpublished posts
* scope posts and order