compiler: ScopeGuard added