fix values test for IE < 9