fix to pages for displaying other than main page