prepare for main-module translation