removed redundant host detection