hack to use inotify