bug fix for ie