fix module root order