fixed host check