bug fix: remove invalid html