Fixed some internet explorer bugs