[mag] dirty hack to use the mag from the module