fix for modules