html parser improvements