fix IE session bugs