IE8 compatibility issue fixed