fix index redirect