fixed (not clearly fixed) very strange bug with context.pause/resume in invoker