Fix error in layout page