fix bug in dm_ioctl