Removed idiotic bug from index template