ScriptCompiler , fix bug with TMap