Removing duplicate template