fix bug in parse broken html