check for broken DOM