event watcher segfault wip