fix module function body clone