simplify IErlRuntime