fix bug query_posts reset the main loop