Queries in main page are optimized.