fix hostonly detection