fixing issues with modules