FIXUP: add ioctl