Add server found event
fix bugs