fix main index function
Merge branch 'dev1.0' of https://github.com/fatimaPHP/titleholder into TH-04