fix IE behavior