Removing reference to old template