minor bug fixed in template