fix ie hack so safari works