remove redundant template attribute