fix syscalls