remove unused syscall stuff, cleanup