Fix for module check.