remove duplicate in index.script