better html check