initial html checking