fix all syscall usage