fix for IE < 9