fixed closure invocation within service