fix an potential ie7 bug