pass an array of arguments to get_posts. fixes #7