fixed error in template
added download button