case insensitive module detection