fix a race condition bug that causes entry of syscall unrecorded