fix module main entrypoint