fixing demo index