added html check