fix error when clicking host/guest