reverting variable rename that broke module

retested locally, should be OK now