fixed paths to pages to be more dynamic