fix a static variable which was removed by mistake

this module is only run in the online.