done some required changes in pages.