applied patch to delete entry race condition