fixing base path in index