fixed deletion of index page