fix use of module handler