Bug fix for ie running