mod/reader fix illegal use of footer() during CLI upgrade