remove not existing template reference