fix ie compatibility