Checks that the box and host names aren't null