fix for IE8 (and below)