fixed codes of index page
displaying information about template