IE8 fix when path is in options