fix for modules not working