Get rid of problem of content leaking through from index file