added check for enabled host