Removed duplicate template var declaration