Modified an error in the templates