add action for host in main view, thus fix #97