for some reason index template is not loading