Fixed bug with IE