added a fix for ie