fix IE bug and browser alert