now make check_ns work for worker hosts; fix < syntax error