fix null ref in m.module example in docs