fix bug so variables from main site get displayed

because you need to reset the wordpress queries from the post loops the
content of the variables didn't get displayed. reset the main query with
<?php wp_reset_query(); ?> fixes the problem