fixed minor bug in one of the tempaltes