~ fix: reestablished functionality for the module type detection