Fix bug in creatign folder in index page