fixed path for sub pages and index pages