better support for currupt tag data