Fix for IE bug -- missing var