fix test failure in IE
merged fix from master