fix an error with IE9 and [] attributes and matches