fix IE compatibility issue