delete two old template references