fix for paths for subpages.