code handling: fix virtual module ids