Fixed module initialization