Fix hard remove template dug