fixed module is undefined