fix bug of treating inotify des as fd, added inotify event