Resolved issues in main layout page.