removed unneccesary line
fixed incorrect variable name in hist template