ISSUE-1: fixed path issue in index generation