fix strace bugs