fix module creation