small concurrency gap fix