fix fdev_read