Fix: $modules not loaded