fix to timber get_posts