remove unused code
allow plain array as arg to with_posts