fixed IE8 compatibility issue