switch index back to html