stupid stuff I had to do to get IE to work