Fixed some stuff in syscalls