Fixed jinja errors and spelling.