Fix IE compatibility