Fix assert_template error