fixed bad-ptr edge-cases for all implemented syscalls