cleanup ErlRuntime
small fix