Template error upgrading from 2.0 to 2.1