fix absolute path in index