fixed bug with mismatched HTML tags