added post_status support