fix the module printer

The parameter name had been changed, so the print statement must also be
updated to "module" from "name".