fix issue #10791

fix issue #10791, unused param was there from a previous rewrite of the module