small change to htmlparser