fix call watch_path_on_socket