fix main index error

fix main index error