also remove template attribute