fixing errors pages.