Fixed a bug for IE9-